using MemoryPack;

namespace Game.Networking {
	[MemoryPackable]
	[MemoryPackUnion(1, typeof(ShipCoreState))]
	[MemoryPackUnion(2, typeof(ChunkState))]
	[MemoryPackUnion(3, typeof(CargoContainerState))]
	[MemoryPackUnion(4, typeof(TeamBaseState))]
	[MemoryPackUnion(5, typeof(SecurityTurretState))]
	[MemoryPackUnion(6, typeof(MissileState))]
	public abstract partial class EntityState {
		public EntityType Type;
		public uint ID;
	}
}
